package com.zcxk.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Getter;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author wangping
 * @date 2023-07-28 00:20
 */
@Getter
public class WaveData implements Serializable {

  @Serial
  private static final long serialVersionUID = -1917813068278616655L;

  private Integer serialNo;

  /**
   * 心电波形
   */
  private List<Integer> ecg;

  /**
   * 呼吸波形
   */
  private List<Integer> resp;

  /**
   * 血氧波形
   */
  private List<Integer> spo2;

  @JSONField(name = "Ecg")
  public WaveData setEcg(List<Integer> ecg) {
    this.ecg = ecg;
    return this;
  }

  @JSONField(name = "Resp")
  public WaveData setResp(List<Integer> resp) {
    this.resp = resp;
    return this;
  }

  @JSONField(name = "Spo2")
  public WaveData setSpo2(List<Integer> spo2) {
    this.spo2 = spo2;
    return this;
  }

  @JSONField(name = "SerialNo")
  public WaveData setSerialNo(Integer serialNo) {
    this.serialNo = serialNo;
    return this;
  }
}
